package com.drafthj.study.spring5.ioc.dependencies.injection.setter;

import com.drafthj.study.spring5.ioc.dependencies.injection.AnotherBean;
import com.drafthj.study.spring5.ioc.dependencies.injection.YetAnotherBean;

/**
 * 〈一句话功能简述〉
 * 〈功能详细描述〉
 *
 * @author drafthj
 * @date 2021/1/28
 * @see [相关类/方法]（可选）
 * @since [产品/模块版本] （可选）
 */
public class ExampleBean {

    private AnotherBean beanOne;

    private YetAnotherBean beanTwo;

    private int i;

    public void setBeanOne(AnotherBean beanOne) {
        this.beanOne = beanOne;
    }

    public void setBeanTwo(YetAnotherBean beanTwo) {
        this.beanTwo = beanTwo;
    }

    public void setIntegerProperty(int i) {
        this.i = i;
    }

    public AnotherBean getBeanOne() {
        return beanOne;
    }

    public YetAnotherBean getBeanTwo() {
        return beanTwo;
    }

    public int getI() {
        return i;
    }
}